<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- Sidebar user panel -->
      <div class="user-panel">
        <div class="pull-left image">
          <img src="{$admin.image ? $admin.image : '/static/plugins/AdminLTE-2.4/dist/img/user2-160x160.jpg'}" class="img-circle">
        </div>
        <div class="pull-left info">
          <p>admin</p>
          <i class="fa fa-circle text-success"></i> 在线
        </div>
      </div>
      <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu tree" data-widget="tree">
            <li class="header">主导航</li>

            {if session('admin.is_super')==1}
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>管理员账号管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/LoginUser/index')}" target="right">
                        <i class="fa fa-cog"></i>账号列表</a></li>
                     <li class="left_li"><a href="{:url('admin/LoginUser/add')}" target="right">
                        <i class="fa fa-cog"></i>添加管理员账号</a></li>
                </ul>
            </li>
            {/if}
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>志愿项目管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/project/index')}" target="right">
                        <i class="fa fa-cog"></i>志愿项目列表</a></li>
                     <li class="left_li"><a href="{:url('admin/project/add')}" target="right">
                          <i class="fa fa-cog"></i>志愿项目添加</a></li>
                </ul>
            </li>
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>志愿者管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/user/index')}" target="right">
                        <i class="fa fa-cog"></i>志愿者列表</a></li>
                    <li class="left_li"><a href="{:url('admin/user/add')}" target="right">
                          <i class="fa fa-cog"></i>新增志愿者</a></li>
                </ul>
              </li>



              <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>文章管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/article/lst')}" target="right">
                        <i class="fa fa-cog"></i>文章列表</a></li>
                    <li class="left_li"><a href="{:url('admin/article/index')}" target="right">
                         <i class="fa fa-cog"></i>文章添加</a></li>
                </ul>
              </li>

            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>轮播图管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/banner/add')}" target="right">
                        <i class="fa fa-cog"></i>新增轮播图</a></li>
                    <li class="left_li"><a href="{:url('admin/banner/index')}" target="right">
                        <i class="fa fa-cog"></i>轮播图列表</a></li>
                </ul>
            </li>



            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>下载中心管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/download/lst')}" target="right">
                        <i class="fa fa-cog"></i>下载中心列表</a></li>
                    <li class="left_li"><a href="{:url('admin/download/index')}" target="right">
                        <i class="fa fa-cog"></i>新增下载内容</a></li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>自愿者申请管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/apply/index')}" target="right">
                        <i class="fa fa-cog"></i>下自愿者申请列表</a></li>
                </ul>
            </li>

            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>网站指南管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/guide/lst')}" target="right">
                        <i class="fa fa-cog"></i>网站指南列表</a></li>
                    <li class="left_li"><a href="{:url('admin/guide/index')}" target="right">
                        <i class="fa fa-cog"></i>添加网站指南</a></li>
                </ul>
            </li>
            {if session('admin.is_super')==1}
            <li class="treeview">
                <a href="#">
                    <i class="fa fa-cogs"></i> <span>站点设置管理</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                </a>
                <ul class="treeview-menu" style="display: none;">
                    <li class="left_li"><a href="{:url('admin/home/webconfig')}" target="right">
                        <i class="fa fa-cog"></i>站点设置</a></li>
                </ul>
            </li>
            {/if}
        </ul>
    </section>
    <!-- /.sidebar -->
  </aside>
